package cn.yyh.servicePay.service;

import cn.yyh.commons.service.MyBaseService;
import cn.yyh.servicePay.domain.PayBill;
import com.alipay.api.AlipayApiException;
import org.csource.common.MyException;

import javax.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncodingException;

public interface IPayBillService extends MyBaseService<PayBill> {
    String pay(PayBill payBill) throws MyException;

    void dealNotify(HttpServletRequest request) throws UnsupportedEncodingException, MyException, AlipayApiException;
}
